<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/13/013
  Time: 14:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!--导入struts2标签库-->
<%@taglib uri="/struts-tags" prefix="s"%>

<html>
<head>
    <title>注册页</title>
</head>
<body>
<center>
    <div id="register">
        <s:form action="registerAction" method="post">
            <s:textfield label="用户名" name="user_name"></s:textfield>
            <s:textfield label="密码" name="user_password"></s:textfield>
            <s:fielderror fieldName="user_nameOrPassword" ></s:fielderror>
            <s:submit value="注册"></s:submit>
        </s:form>
    </div>
</center>
</body>
</html>
